<?php /* Smarty version 2.6.14, created on 2014-12-17 17:30:54
         compiled from group.add.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'group.add.html', 40, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<table width="100%" border="0" class="adminform">
  <tr>
    <th><?php echo $this->_tpl_vars['systemLang']['mark']; ?>
</th>
  </tr>
  <tr>
    <td><label>
      <input type="text" class="text" name="form[group_name]" id="form[group_name]" dataType="Require" msg="<?php echo $this->_tpl_vars['systemLang']['markNotEmpty']; ?>
"/>
      </label></td>
  </tr>
  <tr>
    <th><?php echo $this->_tpl_vars['systemLang']['cnName']; ?>
</th>
  </tr>
  <tr>
    <td><input type="text" class="text" name="form[group_value]" id="form[group_value]" dataType="Require" msg="<?php echo $this->_tpl_vars['systemLang']['cnNameNotEmpty']; ?>
" /></td>
  </tr>
  <tr>
    <th><?php echo $this->_tpl_vars['systemLang']['desc']; ?>
</th>
  </tr>
    <td><input type="text" class="text"  name="form[description]" id="form[description]" /></td>
  </tr>
  <tr>
    <th><?php echo $this->_tpl_vars['systemLang']['belongPlatform']; ?>
</th>
  </tr>
    <td>
    	<select name="form[platform]" style="width:200px">
    	<?php $_from = $this->_tpl_vars['platformList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
    		<option value="<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['item']; ?>
</option>
    	<?php endforeach; endif; unset($_from); ?>
    </td>
  </tr>  
  <tr>
    <th><?php echo $this->_tpl_vars['systemLang']['gameAuth']; ?>
</th>
  </tr>
  <tr>
    <td>
        <select name="games[]" multiple="true" size="10" style="width:200px">
                <option value="0"><?php echo $this->_tpl_vars['systemLang']['allGame']; ?>
</option>
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['games']), $this);?>

        </select>
    </td>
  </tr>
  <tr>
    <td colspan="2"><label>
      <input type="submit"  id="button" value="<?php echo $this->_tpl_vars['systemLang']['submit']; ?>
" class="button" />
      </label></td>
  </tr>
</table>
</form>